package alicom

import (
	"encoding/xml"

	"github.com/bububa/opentaobao/model"
)

// AlibabaAliqinFlowWalletConsumeAPIResponse 流量扣减 API返回值
// alibaba.aliqin.flow.wallet.consume
//
// 流量钱包流量扣减接口
type AlibabaAliqinFlowWalletConsumeAPIResponse struct {
	model.CommonResponse
	AlibabaAliqinFlowWalletConsumeAPIResponseModel
}

// AlibabaAliqinFlowWalletConsumeAPIResponseModel is 流量扣减 成功返回结果
type AlibabaAliqinFlowWalletConsumeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_aliqin_flow_wallet_consume_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// true为成功
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}
